home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 89 / maccd 89.iso / updates / iView MediaPro / iView MediaPro ƒ.sit / iView MediaPro ƒ / iView MediaPro 1.4 / Script Examples / Field Class < prev    next >
MacBinary  |  2001-09-12  |  2.3 KB  |  [TEXT/ToyS]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Wed Sep 12 13:00:00 2001, modified Wed Sep 12 13:00:00 2001, creator 'ToyS', type ASCII, 1463 bytes "Field Class" , at 0x637 533 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ToyS]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 46 69 65 6c 64 20 | 43 6c 61 73 73 00 00 00 |..Field |Class...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 54 6f 79 | 53 00 00 00 00 00 00 00 |.TEXTToy|S.......|
|00000050| 00 00 00 00 00 05 b7 00 | 00 02 15 b7 c5 45 10 b7 |........|.....E..|
|00000060| c5 45 10 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.E......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 df df 00 00 |........|........|
|00000080| 74 65 6c 6c 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |tell app|lication|
|00000090| 20 22 69 56 69 65 77 20 | 4d 65 64 69 61 50 72 6f | "iView |MediaPro|
|000000a0| 22 0d 09 0d 09 0d 09 74 | 65 6c 6c 20 77 69 6e 64 |"......t|ell wind|
|000000b0| 6f 77 20 31 0d 09 09 0d | 09 09 28 2a 20 6d 65 74 |ow 1....|..(* met|
|000000c0| 68 6f 64 73 20 66 6f 72 | 20 61 63 63 65 73 73 69 |hods for| accessi|
|000000d0| 6e 67 20 66 69 65 6c 64 | 20 70 72 6f 70 65 72 74 |ng field| propert|
|000000e0| 69 65 73 20 2a 29 0d 09 | 09 0d 09 09 2d 2d 20 67 |ies *)..|....-- g|
|000000f0| 65 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 66 |et the n|ame of f|
|00000100| 69 65 6c 64 20 31 0d 09 | 09 2d 2d 20 67 65 74 20 |ield 1..|.-- get |
|00000110| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 66 69 65 6c |the name| of fiel|
|00000120| 64 20 61 66 74 65 72 20 | 66 69 65 6c 64 20 31 0d |d after |field 1.|
|00000130| 09 09 2d 2d 20 67 65 74 | 20 74 68 65 20 6e 61 6d |..-- get| the nam|
|00000140| 65 20 6f 66 20 65 76 65 | 72 79 20 66 69 65 6c 64 |e of eve|ry field|
|00000150| 0d 09 09 2d 2d 20 67 65 | 74 20 74 68 65 20 6e 61 |...-- ge|t the na|
|00000160| 6d 65 20 6f 66 20 65 76 | 65 72 79 20 66 69 65 6c |me of ev|ery fiel|
|00000170| 64 20 6f 66 20 6f 62 6a | 65 63 74 20 31 20 2d 2d |d of obj|ect 1 --|
|00000180| 20 73 61 6d 65 20 61 73 | 20 61 62 6f 76 65 0d 09 | same as| above..|
|00000190| 09 2d 2d 20 67 65 74 20 | 74 68 65 20 69 6e 64 65 |.-- get |the inde|
|000001a0| 78 20 6f 66 20 65 76 65 | 72 79 20 66 69 65 6c 64 |x of eve|ry field|
|000001b0| 20 77 68 6f 73 65 20 6e | 61 6d 65 20 63 6f 6e 74 | whose n|ame cont|
|000001c0| 61 69 6e 73 20 22 41 22 | 0d 09 09 2d 2d 20 67 65 |ains "A"|...-- ge|
|000001d0| 74 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 66 69 |t the na|me of fi|
|000001e0| 65 6c 64 73 20 31 20 74 | 68 72 6f 75 67 68 20 34 |elds 1 t|hrough 4|
|000001f0| 20 2d 2d 20 6d 61 6b 65 | 20 73 75 72 65 20 79 6f | -- make| sure yo|
|00000200| 75 20 68 61 76 65 20 34 | 20 66 69 65 6c 64 73 20 |u have 4| fields |
|00000210| 64 65 66 69 6e 65 64 0d | 09 09 0d 09 09 2d 2d 20 |defined.|.....-- |
|00000220| 73 65 74 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |set the |name of |
|00000230| 66 69 65 6c 64 20 31 20 | 74 6f 20 22 41 67 65 73 |field 1 |to "Ages|
|00000240| 22 20 2d 2d 20 6d 75 73 | 74 20 62 65 20 75 6e 69 |" -- mus|t be uni|
|00000250| 71 75 65 0d 09 09 2d 2d | 20 73 65 74 20 74 68 65 |que...--| set the|
|00000260| 20 6e 61 6d 65 20 6f 66 | 20 65 76 65 72 79 20 66 | name of| every f|
|00000270| 69 65 6c 64 20 74 6f 20 | 7b 22 41 67 65 22 2c 20 |ield to |{"Age", |
|00000280| 22 41 70 65 22 2c 20 22 | 41 63 65 22 7d 20 2d 2d |"Ape", "|Ace"} --|
|00000290| 20 6d 75 73 74 20 68 61 | 76 65 20 33 20 66 69 65 | must ha|ve 3 fie|
|000002a0| 6c 64 73 20 6f 72 20 6c | 65 73 73 0d 09 09 0d 09 |lds or l|ess.....|
|000002b0| 09 0d 09 09 28 2a 20 67 | 65 74 2f 73 65 74 20 6f |....(* g|et/set o|
|000002c0| 66 20 76 61 6c 75 65 73 | 20 66 6f 72 20 6f 62 6a |f values| for obj|
|000002d0| 65 63 74 20 66 69 65 6c | 64 73 20 2a 29 0d 09 09 |ect fiel|ds *)...|
|000002e0| 0d 09 09 2d 2d 20 67 65 | 74 20 66 69 65 6c 64 20 |...-- ge|t field |
|000002f0| 32 20 6f 66 20 6f 62 6a | 65 63 74 20 31 0d 09 09 |2 of obj|ect 1...|
|00000300| 2d 2d 20 69 66 20 65 78 | 69 73 74 73 20 66 69 65 |-- if ex|ists fie|
|00000310| 6c 64 20 22 41 67 65 22 | 20 74 68 65 6e 0d 09 09 |ld "Age"| then...|
|00000320| 2d 2d 09 67 65 74 20 66 | 69 65 6c 64 20 22 41 67 |--.get f|ield "Ag|
|00000330| 65 22 20 6f 66 20 6f 62 | 6a 65 63 74 20 31 20 2d |e" of ob|ject 1 -|
|00000340| 2d 20 65 72 72 6f 72 20 | 69 66 20 6e 6f 20 66 69 |- error |if no fi|
|00000350| 65 6c 64 20 41 67 65 20 | 65 78 69 73 74 73 0d 09 |eld Age |exists..|
|00000360| 09 2d 2d 20 65 6e 64 20 | 69 66 0d 09 09 2d 2d 20 |.-- end |if...-- |
|00000370| 73 65 74 20 66 69 65 6c | 64 20 31 20 6f 66 20 6f |set fiel|d 1 of o|
|00000380| 62 6a 65 63 74 20 31 20 | 74 6f 20 22 61 73 64 61 |bject 1 |to "asda|
|00000390| 73 64 22 0d 09 09 0d 09 | 09 0d 09 09 28 2a 20 69 |sd".....|....(* i|
|000003a0| 74 27 73 20 66 61 73 74 | 65 72 20 26 20 6d 6f 72 |t's fast|er & mor|
|000003b0| 65 20 65 66 66 69 63 69 | 65 6e 74 20 74 6f 20 75 |e effici|ent to u|
|000003c0| 73 65 20 64 61 74 61 20 | 6c 69 73 74 73 20 2a 29 |se data |lists *)|
|000003d0| 0d 09 09 0d 09 09 2d 2d | 20 73 65 74 20 65 76 65 |......--| set eve|
|000003e0| 72 79 20 66 69 65 6c 64 | 20 6f 66 20 65 76 65 72 |ry field| of ever|
|000003f0| 79 20 6f 62 6a 65 63 74 | 20 74 6f 20 7b 22 31 20 |y object| to {"1 |
|00000400| 79 65 61 72 22 2c 20 22 | 6d 61 6c 65 22 7d 20 2d |year", "|male"} -|
|00000410| 2d 20 66 69 72 73 74 20 | 32 20 66 69 65 6c 64 73 |- first |2 fields|
|00000420| 20 61 72 65 20 73 65 74 | 2c 20 72 65 73 74 20 61 | are set|, rest a|
|00000430| 72 65 20 63 6c 65 61 72 | 65 64 0d 09 09 2d 2d 20 |re clear|ed...-- |
|00000440| 73 65 74 20 65 76 65 72 | 79 20 66 69 65 6c 64 20 |set ever|y field |
|00000450| 6f 66 20 28 65 76 65 72 | 79 20 6f 62 6a 65 63 74 |of (ever|y object|
|00000460| 20 77 68 6f 73 65 20 6e | 61 6d 65 20 63 6f 6e 74 | whose n|ame cont|
|00000470| 61 69 6e 73 20 22 63 6c | 69 6f 22 29 20 74 6f 20 |ains "cl|io") to |
|00000480| 7b 22 31 30 20 6d 6f 6e | 74 68 22 2c 20 22 66 65 |{"10 mon|th", "fe|
|00000490| 6d 61 6c 65 22 7d 0d 09 | 09 0d 09 09 0d 09 09 28 |male"}..|.......(|
|000004a0| 2a 20 66 75 6e 63 74 69 | 6f 6e 20 73 61 6d 70 6c |* functi|on sampl|
|000004b0| 65 73 20 2a 29 0d 09 09 | 0d 09 09 2d 2d 20 63 6f |es *)...|...-- co|
|000004c0| 75 6e 74 20 66 69 65 6c | 64 73 0d 09 09 2d 2d 20 |unt fiel|ds...-- |
|000004d0| 65 78 69 73 74 73 20 66 | 69 65 6c 64 20 32 0d 09 |exists f|ield 2..|
|000004e0| 09 0d 09 09 0d 09 09 28 | 2a 20 63 6f 6d 6d 61 6e |.......(|* comman|
|000004f0| 64 20 73 61 6d 70 6c 65 | 73 20 2a 29 0d 09 09 0d |d sample|s *)....|
|00000500| 09 09 2d 2d 20 61 64 64 | 20 66 69 65 6c 64 0d 09 |..-- add| field..|
|00000510| 09 2d 2d 20 61 64 64 20 | 66 69 65 6c 64 20 61 73 |.-- add |field as|
|00000520| 20 22 50 72 69 63 65 22 | 0d 09 09 2d 2d 20 64 65 | "Price"|...-- de|
|00000530| 6c 65 74 65 20 66 69 65 | 6c 64 20 33 0d 09 09 0d |lete fie|ld 3....|
|00000540| 09 65 6e 64 20 74 65 6c | 6c 0d 09 0d 09 28 2a 20 |.end tel|l....(* |
|00000550| 73 6f 6d 65 20 6d 6f 72 | 65 20 2a 29 0d 09 2d 2d |some mor|e *)..--|
|00000560| 20 64 65 6c 65 74 65 20 | 66 69 65 6c 64 20 31 20 | delete |field 1 |
|00000570| 6f 66 20 65 76 65 72 79 | 20 77 69 6e 64 6f 77 0d |of every| window.|
|00000580| 09 2d 2d 20 67 65 74 20 | 74 68 65 20 6e 61 6d 65 |.-- get |the name|
|00000590| 20 6f 66 20 65 76 65 72 | 79 20 66 69 65 6c 64 20 | of ever|y field |
|000005a0| 6f 66 20 65 76 65 72 79 | 20 77 69 6e 64 6f 77 0d |of every| window.|
|000005b0| 09 2d 2d 20 63 6f 75 6e | 74 20 66 69 65 6c 64 20 |.-- coun|t field |
|000005c0| 6f 66 20 65 76 65 72 79 | 20 77 69 6e 64 6f 77 0d |of every| window.|
|000005d0| 09 2d 2d 20 73 65 74 20 | 74 68 65 20 6e 61 6d 65 |.-- set |the name|
|000005e0| 20 6f 66 20 65 76 65 72 | 79 20 66 69 65 6c 64 20 | of ever|y field |
|000005f0| 6f 66 20 77 69 6e 64 6f | 77 20 31 20 74 6f 20 28 |of windo|w 1 to (|
|00000600| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 65 76 65 72 |the name| of ever|
|00000610| 79 20 66 69 65 6c 64 20 | 6f 66 20 77 69 6e 64 6f |y field |of windo|
|00000620| 77 20 32 20 61 73 20 6c | 69 73 74 29 0d 09 0d 65 |w 2 as l|ist)...e|
|00000630| 6e 64 20 74 65 6c 6c 00 | 00 00 00 00 00 00 00 00 |nd tell.|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 01 00 00 00 01 bb | 00 00 00 bb 00 00 00 5a |........|.......Z|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 85 69 56 69 65 | 77 20 4d 65 64 69 61 50 |....iVie|w MediaP|
|00000790| 72 6f 20 73 63 72 69 70 | 74 69 6e 67 20 73 61 6d |ro scrip|ting sam|
|000007a0| 70 6c 65 73 20 72 65 6c | 61 74 65 64 20 74 6f 20 |ples rel|ated to |
|000007b0| 74 68 65 20 55 73 65 72 | 20 46 69 65 6c 64 20 63 |the User| Field c|
|000007c0| 6c 61 73 73 2e 0d 54 6f | 20 74 65 73 74 2c 20 6f |lass..To| test, o|
|000007d0| 70 65 6e 20 6f 6e 65 20 | 6f 72 20 6d 6f 72 65 20 |pen one |or more |
|000007e0| 63 61 74 61 6c 6f 67 20 | 77 69 6e 64 6f 77 73 20 |catalog |windows |
|000007f0| 61 6e 64 20 72 65 6d 6f | 76 65 20 63 6f 6d 6d 65 |and remo|ve comme|
|00000800| 6e 74 73 20 28 2d 2d 29 | 2e 00 00 00 16 00 01 00 |nts (--)|........|
|00000810| 00 00 00 00 0c 00 0a 00 | 03 00 00 00 09 00 00 00 |........|........|
|00000820| 00 00 00 00 00 00 14 00 | 3c 00 15 02 0d 02 94 00 |........|<.......|
|00000830| 3c 00 15 02 0d 02 94 00 | 00 00 00 00 00 01 00 00 |<.......|........|
|00000840| 00 01 bb 00 00 00 bb 00 | 00 00 5a 53 4f 52 54 02 |........|..ZSORT.|
|00000850| 36 00 80 00 1c 00 5a 00 | 02 54 45 58 54 00 00 00 |6.....Z.|.TEXT...|
|00000860| 1a 57 50 6f 73 00 00 00 | 26 73 74 79 6c 00 00 00 |.WPos...|&styl...|
|00000870| 32 04 68 ff ff 00 00 00 | 00 0d 5a ed c4 00 80 ff |2.h.....|..Z.....|
|00000880| ff 00 00 00 a3 0d 5a ed | c8 04 68 ff ff 00 00 00 |......Z.|..h.....|
|00000890| 89 0d 5a f0 30 00 00 00 | 00 00 00 00 00 00 00 00 |..Z.0...|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+